package com.he.heblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 余生
 * @since 2023-04-05
 */
public class Support implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 点赞表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 点赞的文章ID
     */
    private Integer articleId;

    /**
     * 点赞的用户
     */
    private Integer userId;

    /**
     * 点赞的评论ID
     */
    private Integer commentId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    @Override
    public String toString() {
        return "Support{" +
            "id=" + id +
            ", articleId=" + articleId +
            ", userId=" + userId +
            ", commentId=" + commentId +
        "}";
    }
}
